package com.zzx.service;

import java.util.List;
import java.util.Map;

import com.zzx.model.Role;

public interface IRoleService {
	
public void save(Role role);
	
	public void saveByEntity(Role role);
	
	public void update(Role role);
	
	public void updateByEntity(Role role);
	
	public void deleteById(String id);
	
	public Role getById(String id);
	
	public List<Role> findAll(Map<String,String> params);
	
	public int getCount(Map<String,String> params);
}
